package com.demo.webflux.redis;

import java.io.Serializable;

import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

public interface ArticleReactiveRedisRepository {

	Mono<Boolean> saveArticle(Article article);

	Mono<Boolean> updateArticle(Article article);

	Mono<Boolean> deleteArticle(String id);

	Mono<Serializable> findArticleById(String id);

	Flux<Serializable> findAllArticles();

}
